<div class="Agregar Post">
<?php //echo "Topico: ".$elTopico['titulo'] ?>
<?php echo $form->create('Post', array('field'=> 'Agregar Post'));?>
	<fieldset>
 		<legend><?php __('Agregar un Post');?></legend>
	<?php
		echo $form->input('post');
		echo $form->input('topico_id',array('type' => 'hidden'));
		echo $form->textarea('texto', array('rows'=>10,'maxLength'=> 5000));
	?>
	</fieldset>
        <?php echo $ajax->submit('Aceptar', array('url' => 'add', 'complete' => 'updatePostList(' . $this->data['Post']['topico_id'].')'));?>
        <?php //echo $form->end();?>
</div>